package cglib.abstractdemo.dao;

public abstract class Actor extends Person {

    private String type; //这个影星擅长的影片类型

    public Actor(){

    }

    public Actor(String type) {
        this.type = type;
    }

    public Actor(String name, String type) {
        super(name);
        this.type = type;
    }

    //演戏的抽象方法
    public abstract void act();

}
